package com.ruoyi.orderview.domain;



import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;


/**
 * Author 许家森
 * Date 2022/2/22
 * Email 3448324670@qq.com
 */
public class ProductionParam {

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date origintime;


    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endtime;

    private String productiontype;

    public Date getOrigintime() {
        return origintime;
    }

    public void setOrigintime(Date origintime) {
        this.origintime = origintime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public String getProductiontype() {
        return productiontype;
    }

    public void setProductiontype(String productiontype) {
        this.productiontype = productiontype;
    }


    @Override
    public String toString() {
        return "ProductionParam{" +
                "origintime=" + origintime +
                ", endtime=" + endtime +
                ", productiontype='" + productiontype + '\'' +
                '}';
    }

    public ProductionParam() {}

    public ProductionParam(Date origintime, Date endtime, String productiontype) {
        this.origintime = origintime;
        this.endtime = endtime;
        this.productiontype = productiontype;
    }
}
